﻿namespace Fancyx.DataAccess
{
    public interface IUnitOfWork : IDisposable, IAsyncDisposable
    {
        Guid Id { get; }

        bool IsCompeleted { get; }

        Task CommitAsync();

        Task RollbackAsync();
    }
}